﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Cinemax.DTO
{
    public class PhongChieuDTO
    {
        int _MaPhongChieu;
        string _TenPhongChieu;
        int _SoLuongDay;
        int _SoLuongHang;
        string _MoTa;

        public PhongChieuDTO(SP_GET_PHONGCHIEU_BY_IDResult phongchieu)
        {
            _MaPhongChieu = phongchieu.MaPhongChieu;
            _MoTa = phongchieu.MoTa;
            _SoLuongDay = phongchieu.SoLuongDay.Value;
            _SoLuongHang = phongchieu.SoLuongHang.Value;
            _TenPhongChieu = phongchieu.TenPhongChieu;
        }

        public PhongChieuDTO()
        {
        }

        public string MoTa
        {
            get { return _MoTa; }
            set { _MoTa = value; }
        }

        public int SoLuongHang
        {
            get { return _SoLuongHang; }
            set { _SoLuongHang = value; }
        }

        public int SoLuongDay
        {
            get { return _SoLuongDay; }
            set { _SoLuongDay = value; }
        }

        public string TenPhongChieu
        {
            get { return _TenPhongChieu; }
            set { _TenPhongChieu = value; }
        }

        public int MaPhongChieu
        {
            get { return _MaPhongChieu; }
            set { _MaPhongChieu = value; }
        }
    }
}